package subscription

type EmptyRequest struct {
}

type GetRadarSubscriptionConfigRequest struct {
}

type SaveRadarSubscriptionConfigRequest struct {
	Id                int32    `json:"id"`
	IsLandOpen        int32    `json:"is_land_open"`
	LandUsage         []string `json:"land_usage"`
	IsBuildingOpen    int32    `json:"is_building_open"`
	BuildingType      []string `json:"building_type"`
	IsSaleOpen        int32    `json:"is_sale_open"`
	SaleType          []string `json:"sale_type"`
	BidKeyword        []string `json:"bid_keyword"`
	WinbidKeyword     []string `json:"winbid_keyword"`
	BidKeywordExclude []string `json:"bid_keyword_exclude"`
	ProjectKeyword    []string `json:"project_keyword"`
	AreaCode          []string `json:"area_code"`
}

type GetSubscriptionPushConfigRequest struct {
}
type SaveSubscriptionPushConfigRequest struct {
	Id       int32  `json:"id"`
	Period   string `json:"period"`
	PushTime string `json:"push_time"`
	Email    string `json:"email"`
}
type GetWxQrCodeRequest struct {
}

type GetBindStatusRequest struct {
	SceneID string `form:"scene_id" json:"scene_id" binding:"required"`
}

type GetRadarListRequest struct {
	AreaCodes []string `json:"area_code" form:"area_code"`
	OpptyType []string `json:"oppty_type" form:"oppty_type"`
	StartTime string   `json:"start_time" form:"start_time" binding:"required"`
	EndTime   string   `json:"end_time" form:"end_time" binding:"required"`
	Page      int32    `json:"page" form:"page"`
	PageSize  int32    `json:"page_size" form:"page_size"`
}

type GetRadarPreCountRequest struct {
	AreaCode          []string `json:"area_code"  binding:"required"`
	BidKeyword        []string `json:"bid_keyword"  binding:"required"`
	WinbidKeyword     []string `json:"winbid_keyword"  binding:"required"`
	BidKeywordExclude []string `json:"bid_keyword_exclude"`
	IsLandOpen        int32    `json:"is_land_open"`
	LandUsage         []string `json:"land_usage"`
	IsBuildingOpen    int32    `json:"is_building_open"`
	IsSaleOpen        int32    `json:"is_sale_open"`
	SaleType          []string `json:"sale_type"`
	ProjectKeyword    []string `json:"project_keyword"`
	BuildingType      []string `json:"building_type"`
}

type BindOpenIdByCardRequest struct {
	YcgOpenId string `json:"ycg_openid" binding:"required"`
}
